var mongoose = require('mongoose');
// var mongoosePaginate = require('mongoose-paginate');
materializedPlugin = require('mongoose-materialized');

var schema = new mongoose.Schema({
    /* schema definition */
    text: { type: String },
    type: { type: String }
});
schema.plugin(materializedPlugin);
var Cate = mongoose.model('Cate', schema);

module.exports = Cate; // Model.paginate()